package com.sxfans.designmodel.structed.proxy;

public class TargetTest{
	public static void main(String[] args) {
		ITarget targer = new TargetImpl();
		IAfter after = new AfterImpl();
		IBefore before = new BeforeImpl();
		ProxyFactory proxy = new ProxyFactory();
		proxy.setTarget(targer);
		proxy.setBefore(before);
		proxy.setAfter(after);
		proxy.show();
	}
}
